MailPoet\CustomFields\ApiDataSanitizer S

Total Complexity 42
Dependencies 2
Dependents 4
Total lines 167
Lines of code 137
Logical lines of code 79
Comment lines 0
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
getExtraParamsForDate()
A
46 10 39
getExtraParams()
S
57 5 16
sanitizeValue()
S
61 4 12
checkMandatoryStringParameter()
S
65 3 8
checkParamsType()
S
70 3 5
getRequired()
S
70 3 6
getExtraParamsForText()
S
62 3 10
getExtraParamsForCheckbox()
S
66 3 7
getExtraParamsForSelect()
S
63 3 10
sanitizeParams()
S
67 2 7
getLabel()
S
69 2 7
sanitize()
S
65 1 10